package com.kata.chapter12;

import java.sql.Connection;

/**
 * Created by Solidsnake on 2014/12/4.
 */
public class LogTransaction extends Transaction{

    public LogTransaction(IConnection connection) {
        super(connection);
    }

    @Override
    protected void before() {
        System.out.println("事务开始, 写Log");
    }

    @Override
    protected void after() {
        System.out.println("事务结束, 写Log");
    }
}
